package com.example.attendancesystem_1_8.entity;

public class DakaTime
{
    private int hour, minute;   //daka shijian
    private int img;       //tupian wenjian
    private String week; //daka shuzu(xuanze riqi)
    private int leaderId;   //chuang jian gai biao de LeaderID
    private String type;    //go Company  or  leave Company
    private int error;      //shezhi wucha
    private int pictureUrl;        //picture url

    public DakaTime()
    {

    }

    public DakaTime(int hour, int minute, int error, int leaderId, String week, String type, int pictureUrl)
    {
        this.hour = hour;
        this.error = error;
        this.minute = minute;
        this.leaderId = leaderId;
        this.week = week;
        this.type = type;
        this.pictureUrl = pictureUrl;
    }

    //set. get


    public void setHour(int hour) {
        this.hour = hour;
    }

    public void setMinute(int minute) {
        this.minute = minute;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public void setLeaderId(int leaderId) {
        this.leaderId = leaderId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setError(int error) {
        this.error = error;
    }

    public void setPictureUrl(int pictureUrl)
    {
        this.pictureUrl = pictureUrl;
    }

    public int getPictureUrl()
    {
        return pictureUrl;
    }

    public int getHour() {
        return hour;
    }

    public int getMinute() {
        return minute;
    }

    public int getImg() {
        return img;
    }

    public String getWeek() {
        return week;
    }

    public int getLeaderId() {
        return leaderId;
    }

    public String getType() {
        return type;
    }

    public int getError() {
        return error;
    }
}
